package kuoge.practice.kafka.stream.member.clickrate;

/**
 * @Description
 */
public class UserClickEvent {
    private String userId;
    private String itemCode;
    private long clickNum;

    public UserClickEvent(String userId, String itemCode) {
        this(userId, itemCode, 1);
        this.userId = userId;
        this.itemCode = itemCode;
    }

    public UserClickEvent(String userId, String itemCode, long clickNum) {
        this.userId = userId;
        this.itemCode = itemCode;
        this.clickNum = clickNum;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public long getClickNum() {
        return clickNum;
    }

    public void setClickNum(long clickNum) {
        this.clickNum = clickNum;
    }
}
